<?php

/**
 * 策略模式
 */
//$Duck = new \BigVideo\Other\Strategy\MallardDuck();
//$Duck = new \BigVideo\Other\Strategy\RedheadDuck();
//$Duck = new \BigVideo\Other\Strategy\RubberDuck();
//$Duck = new \BigVideo\Other\Strategy\BigYellowDuck();
$Duck = new \BigVideo\Other\Strategy\SpaceDuck();
$Duck->display();
$Duck->quack();
$Duck->fly();